package cn.hxlc.tie.demo.modular.jf.service;

import cn.hxlc.tie.demo.core.enums.WorkOrderEnum;
import cn.hxlc.tie.demo.modular.jf.entity.XjfReqMaterial;
import cn.hxlc.tie.demo.modular.jf.model.params.XjfReqMaterialParam;
import cn.hxlc.tie.demo.modular.jf.model.result.XjfReqMaterialResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

public interface XjfReqMaterialService extends IService<XjfReqMaterial> {

    PageResult<XjfReqMaterialResult> findPageBySpec(XjfReqMaterialParam param);

    XjfReqMaterialResult detail(Long fid);

    void batchChangeState(Object []fid, WorkOrderEnum toEnum);

    void add(XjfReqMaterialParam param);

    void update(XjfReqMaterialParam param);

    void batchDelete(Object[] fid);

    //XjfReqMaterialResult selectNext(Long fworkorderid,Long fentryid);
}
